package com.simen.hellobytes.http;

/**
 * author: SimenHi
 * create time: 2019-10-17 14:48
 * description:
 */
public interface HttpConstant {

    String CONTENT_TYPE_TEXTHTML="text/html; charset=UTF-8";

    String HEAD_RANGE = "Range";
    String HEAD_CONTENT_RANGE = "Content-Range";
    String HEAD_ACCEPT_RANGES = "Accept-Ranges";
    String HEAD_CONTENT_LENGTH = "Content-Length";
    String HEAD_CONTENT_TYPE = "Content-Type";
    String HEAD_CONTENT_DISPOSITION = "Content-Disposition";
    String HEAD_LOCATION = "Location";
    String HEAD_CONTENT_LOCATION = "Content-Location";
    String HEAD_SET_COOKIE = "Set-Cookie";

    int CONNECT_TIMEOUT = 15000;
    int READ_TIMEOUT = 15000;

    //use range to transfer
    int HTTP_CODE_206 = 206;

}
